package com.gitee.ly;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(contextId = "RemoteSpringboot2Main", name = "springboot2-main", url = "${springboot2-main.url:}")
public interface RemoteSpringboot2Main {
    @GetMapping("getStrOnce")
    String getStrOnce();
}
